<div id="maincontent">

<%= render :partial => "shared_common_files/data_area_help_bar" %>

<h2>Role > New</h2>					
					<!-- h2>Manage Roles</h2 -->
					<!-- h5>Create new role</h5 -->
					<!-- OpenApp Built New Panel starts -->


<%= start_form_tag ({:action => 'new'},{:class => 'appform'}) %>

	<div class="req"><b>*</b>Required Information </div>

	<fieldset>
    
		<%=error_messages_for("role")%>
      
      	<h3>Create New Role</h3>
      
	    <label for="name"><b><span class="req">*</span>Name</b>
			<input class="f-name" type="text" name="role[name]" required="true" size="30" /><br />
		</label>
	  
	  	<label for="name"><b>Description</b>
			<textarea class="f-comments" rows="10" cols="25" name="role[description]" required="false"></textarea><br />
		</label>
			
		<div class="f-checkbox-wrap">
			<label for="name"><b>Admin</b>
				<input class="f-checkbox" type="checkbox" name="role[omnipotent]" style="margin-left:10px;" required="true" /><br />
			</label>
		</div>
	
	  	<div class="f-submit-wrap">
		  	<!-- input type="submit" name="crnewform" value="Create New" / -->
		  	<!-- %= link_if_authorized submit_tag('Cancel'), {:action => 'list'}  % -->
		  	<!-- input type="button" value="Cancel" onclick="javascript:history.go(-1);"/ -->
		  	<%= image_submit_tag "/themes/odotclassic/images/btn_createnew.png", :alt => 'Create', :border => 0 %>
		  	<%= link_to image_tag('/themes/odotclassic/images/btn_cancel.gif', :alt => 'Cancel'),  :action => 'list'%>
		</div>  
	 
	</fieldset>
	
<%= end_form_tag %>
 

</div>
